package cn.minicloud;

public class AuthRouter {
    public String route(String username) {
        // Example logic: map username to backend
        // In production, load this from config or DB
        if ("alice".equals(username)) return "127.0.0.1:3307";
        if ("bob".equals(username)) return "127.0.0.1:3308";
        // Default fallback backend
        return "127.0.0.1:3306";
    }
}